package com.scrcu.core.batch.service;

import com.scrcu.core.batch.entity.BatchExecution;

/**
 * @Description:
 * @Author: 刘超
 * @Date: 2023-05-18 15:58
 */
public class MockBatchBrokerServiceImpl implements BatchBrokerService{
    @Override
    public Object startAll(BatchExecution exe) throws Exception {
        return null;
    }

    @Override
    public String start(BatchExecution exe) throws Exception {
        return "mock-start";
    }

    @Override
    public String resume(BatchExecution exe) throws Exception {
        return "mock-resume";
    }

    @Override
    public String redo(BatchExecution exe) throws Exception {
        return "mock-redo";
    }

    @Override
    public void cancel(BatchExecution exe, boolean force) throws Exception {

    }

    @Override
    public Object stat() {
        return null;
    }
}
